<{include file="header.html"}>
<link href="themes/css/detection.css" rel="stylesheet" type="text/css" media="screen">
<div id ="d_sidebar">
	<div class="d_title">
		<h2><a href ="#">PING监控管理</a></h2>
	</div>
	<div class = "d_title">
		<span>按类型查看</span><br>
	</div>
		&nbsp;&nbsp;&nbsp;<a href ="<{spUrl c=main a=detection}>"><span>网址（HTTP/HTTPS）</span></a><br>
		&nbsp;&nbsp;&nbsp;<a href = "<{spUrl c=main a=ping_site}>"><span>Ping</span></a><br>
	<div class = "d_title">
		<span>按组查看</span><br>
	</div>
		&nbsp;&nbsp;&nbsp;<a href ="<{spUrl c=main a=v_group}>"><span>创建分类</span></a><br>
		<{foreach item=vs from=$group key=enname}>
				&nbsp;&nbsp;&nbsp;<a href="<{spUrl c=main a=ping_site group=$vs.groupid}>""><span><{$vs.name}></span></a><br />
		<{/foreach}>	<div class = "d_title">
		<span>按域名查看</span><br>
	</div>
		<table align="left">
		<{foreach item=vo from=$list key=enname}>
		<tr><td>
		&nbsp;&nbsp;&nbsp;<a href = "<{spUrl c=main a=record siteid=$vo.siteid title=$vo.title domain=$vo.domain}>"><span><{$vo.domain}></span></a><br>
		</td></tr>
		<{/foreach}>
		</table>	
</div>
<div id = "d_container">
	<table width="900" border="0" align="center">
			<tr>
					<td width="200">名称：</td>
					<td width="200">网址：</td>
					<td width="200">平均速度：</td>
					<td width="200">详情：</td>
			</tr>
	</table>
	<{foreach item=vo from=$list key=enname}>
	<table width="900" border="0" align="center">
			<tr>
					<td width="200" ><{$vo.title}></td>
					<td width="200" ><{$vo.domain}></td>
					<td width="200"><{$vo.Average}></td>
					<td width="200"><a href= "<{spUrl c=main a=ping siteid=$vo.siteid title=$vo.title domain=$vo.domain}>">详情</a></td>
			</tr>
	</table>
	<{/foreach}>

<{if $pager}>
共有记录<{$pager.total_count}>条，共有<{$pager.total_page}>页（每页<{$pager.page_size}>条记录）：
<!--在当前页不是第一页的时候，显示前页和上一页-->
<{if $pager.current_page != $pager.first_page}>
<a href="<{spUrl c=main a=ping_site page=$pager.first_page}>">前页</a> | 
<a href="<{spUrl c=main a=ping_site page=$pager.prev_page}>">上一页</a> | 
<{/if}>
<!--在当前页不是最后一页的时候，显示下一页和后页-->
<{if $pager.current_page != $pager.last_page}> | 
<a href="<{spUrl c=main a=ping_site page=$pager.next_page}>">下一页</a> | 
<a href="<{spUrl c=main a=ping_site page=$pager.last_page}>">后页</a>
<{/if}>
<{/if}>
</div>
<div class = "clear"></div>

<{include file="footer.html"}>